package com.hanqian.kepler.core.service.core;

import com.hanqian.kepler.core.entity.primary.core.TargetEvaluate;
import com.hanqian.kepler.core.entity.primary.core.TargetEvaluateDetail;
import com.hanqian.kepler.core.entity.primary.sys.Dict;
import com.hanqian.kepler.core.service.flow.BaseFlowService;
import com.hanqian.kepler.core.vo.TargetEvaluateVo;
import com.hanqian.kepler.flow.entity.User;

import java.util.List;

/**
 * new file
 * ======================================
 *
 * @author dzw
 * @date 2021/1/26 16:10
 * =======================================
 */
public interface TargetEvaluateService extends BaseFlowService<TargetEvaluate> {

    /**
     * 判断是否已经评测过了
     */
    boolean checkHas(String userId, String targetId);

    /**
     * 封装评测vo
     */
    TargetEvaluateVo vo(TargetEvaluate targetEvaluate, List<Dict> evaluateTypeList);
    TargetEvaluateVo vo(TargetEvaluate targetEvaluate);

}
